package com.bosssoft.ct.redis.demo1.service;

import com.bosssoft.ct.redis.demo1.model.User;

import java.util.List;

/**
 * @author ChenTong
 * @version 1.0
 * @description 用户层接口
 * @date 2020/6/18 14:21
 * @modified
 **/
public interface UserService {
    /**
     * @description 获取用户所有数据
     * @author ChenTong
     * @return java.util.List<com.bosssoft.ct.redis.demo1.entity.User>
     * @date 2020/6/18 14:21
     */
    List<User> getAllUser();

    User getUserById(Long id);

    User getUserByIdRedis(Long id);
}
